import axios from "axios"
export const getNoteList = () => {
  return axios({
    url: 'http://localhost:3000/list'
  })
}
export const postNoteList = (name) => {
  return axios({
    method: "POST",
    url: 'http://localhost:3000/list',
    data: {
      name
    }
  })
}
export const getUserInfo = () => {
  return axios({
    url: 'http://localhost:3000/userInfo'
  })
}
